package com.hotel.websocketsystem.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName customer
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="customer")
public class Customer implements Serializable {
    /**
     * 用户的id
     */
    @TableId
    private Integer custId;

    /**
     * 用户名
     */
    private String custName;

    /**
     * 密码
     */
    private String custPwd;

    /**
     * 手机号
     */
    private Long custTelno;

    /**
     * 邮箱
     */
    private String custEmail;

    /**
     * 头像
     */
    private String custImg;

    /**
     * 出生日期
     */
    private Date custBirthday;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}